<%--
  Created by IntelliJ IDEA.
  User: ZYT
  Date: 2015/6/18
  Time: 11:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>


<html>
<head>
    <title></title>
</head>
<body>
<form:form action="create.action.do" method="get" commandName="create">


    <label>用户名：</label><input type="text" value="${user.username}" name="username"><form:errors
        path="username"></form:errors><br>
    <label>姓名：</label><input type="text" value="${user.name}" name="name"><form:errors path="name"></form:errors></br>
    <label>密码：</label><input type="password" value="${user.password}" name="password"><form:errors
        path="password"></form:errors></br>



    <label>角色：</label>
    <form:select path="role_id" items="${rolemap}"/></br>


    <label>区域：</label>
    <form:select path="area_id"  items="${areamap}"/></br>


    <input type="submit" name="" value="确认"><a href="index3.do">取消</a>
</form:form>
</body>
</html>
